package com.xixibaby.pay;

import com.egzosn.pay.common.bean.PayOrder;
import com.egzosn.pay.common.bean.RefundOrder;
import com.egzosn.pay.common.bean.TransferOrder;

import java.io.InputStream;
import java.util.Map;

public interface Pay {

    Map<String, Object> appOrder(PayOrder order);

    boolean verify(Map<String, Object> map);

    Map<String, Object> query(String tradeNo, String outTradeNo);

    Map<String, Object> getParameter2Map(Map<String, String[]> parameterMap, InputStream is);

    Map<String, Object> transfer(TransferOrder order);

    Map<String, Object> refund(RefundOrder refundOrder);
}
